using System.Collections.Generic;
using Zoo.Infrastructure;
using System;

namespace Zoo.Cat.Domain.Entities.Polls
{
    /// <summary>
    /// Represents a poll answer
    /// </summary>
    public partial class PollAnswer : BaseEntity
    {
            /// <summary>
        /// Gets or sets the poll identifier
        /// </summary>
        public virtual Guid PollId { get; set; }

        /// <summary>
        /// Gets or sets the poll answer name
        /// </summary>
        public virtual string Name { get; set; }

        /// <summary>
        /// Gets or sets the current number of votes
        /// </summary>
        public virtual int NumberOfVotes { get; set; }

        /// <summary>
        /// Gets or sets the display order
        /// </summary>
        public virtual int DisplayOrder { get; set; }
        
        /// <summary>
        /// Gets or sets the poll
        /// </summary>
        public virtual Poll Poll { get; set; }
               
    }
}